import request from "@/utils/request"

// 查询蜂窝部门
export function getDept () {
    return request({
        url: '/honeycombdepts',
        method: 'get'
    })
}

// 新增蜂窝部门
export function addDept (data) {
    return request({
        url: '/honeycombdept',
        method: 'post',
        data: data
    })
}

// 修改蜂窝部门
export function updateDept (data) {
    return request({
        url: '/honeycombdept',
        method: 'put',
        data: data
    })
}

// 删除蜂窝部门
export function deleteDept (id) {
    return request({
        url: '/honeycombdept/' + id,
        method: 'delete'
    })
}